02. Microservice And MVC framework

Microservice And MVC framework

035ND C01 L02 A02.1 MVC FRAMEWORK INTRO

Microservice Summary

To sum up, microservice is the most popular architectures in today’s world. And almost all major companies are replacing their Monolith architectures with microservice architectures. If you are interested to find out more about Microservice and its architecture, please visit the following links.

https://microservices.io/

https://opensource.com/resources/what-are-microservices

MVC Framework

Before we jump into Spring Boot introduction, let’s talk about MVC framework.

MVC stands for Model-View-Controller, which is an architectural pattern that separates an application into three main logical components: the model, the view and the controller. Each of these components are built to handle specific development aspects of an application. MVC is one of the most frequently used industry-standard web development frameworks to create scalable and extensible projects. In the next video, I am going to talk about each component separately.

MVC Components - Model

035ND C01 L02.1 MVC FRAMEWORK - MODEL

MVC Components - Model Quiz

QUESTION:

MVC

If we are building a course management system to allow teachers to register class, and allow students to sign-up for the class, take it and get the grade for the class they attend. Please take a few minutes to think about how many models we can create for this system.

ANSWER:

Thanks for your response. Designing the model is the very first step in MVC design. A good model design will simplify the rest of your works.

This is my answer:

Student, Class, Teacher, StudentClass, TeacherClass

MVC Model - The Controller

035ND C01 L02 A02.2 MVC FRAMEWORK - CONTROLLER

MVC Model - The Controller Quiz

Which of the following is TRUE?

SOLUTION: The controller executes an incoming request.

MVC Component - The View

035ND C01 L02 A02.3 MVC FRAMEWORK - VIEW